function ViewFile(doc, container, width, height, user, date, options) {
  this._doc = doc;
  this._container = container;
  this._width = width;
  this._height = height;
  this._user = user;
  this._date = date;
  this._options = options;
  
  this._unique = MiscUtils.unique();
  this._createElements();
  this._gui = AbsViewFile.gui(this._unique);
}

ViewFile.prototype._createElements = function() {
  var table, tr, td;
  var table = document.createElement('table');
  table.cellPadding = 0;
  table.cellSpacing = 0;
  table.style.width = '79px';
  table.style.height = '75px';
  this._container.appendChild(table);
  
  tr = table.insertRow(-1);
  td = tr.insertCell(-1);
  td.align = 'center';
  td.verticalAlign='bottom';
  td.style.height = '52px';
  var file = document.createElement('img');
  file.id = this._unique + '_icon_img';
  td.appendChild(file);
  
  tr = table.insertRow(-1);
  td = tr.insertCell(-1);
  td.style.height = '14px';
  td.verticalAlign='middle';
  td.align = 'center';
  td.id = this._unique + '_name_div';
};
